﻿@model FlashCards.WebApp.Models.SetUserGroupRoleModel
@{
    ViewBag.Title = "SetUserGroupRole";
}
<h2>
    SetUserGroupRole</h2>
@using (Html.BeginForm(new { groupId = Model.Group.GroupId, userId = Model.User.Id }))
{ 
    @Html.LabelFor( x => Model.User.Name)
    @Html.DisplayFor(x => Model.User.Name)
    
    @Html.DropDownListFor(x => Model.UserRole, new SelectList(Model.GroupRoles, "Name", "Name"))

    <input type="submit" value="send" />
}
